<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.hrms.pojo.Department"%>
<%String path = request.getContextPath();%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>部门信息</title>
</head>
<body>
	<center>
		<div>
			<form action="<%=path%>/depart/withemp"
				method="post">
				<label>请选择部门:</label> <select name="dtId">
					<%
						Object obj = request.getAttribute("departList");
						List<Department> departList = (List<Department>) obj;
						for (Department dep : departList) {
					%>
					<option value="<%=dep.getDtId()%>"><%=dep.getDtName()%></option>
					<%
						}
					%>
				</select><input type="submit" value="提交">
			</form>
			<h2><a href="<%=path%>/admin/function">返回功能页面</a></h2>
		</div>

	</center>

</body>
</html>